public class for1 {
    public static void main(String[] args) {
        int count= 0;
        for (int i = 1;i<=100;i++){
            count += i;
        }
        System.out.println("1-100的和="+ count);
    }
}
